package com.candy.bean;

public class Test04 {
    public static void main(String[] args) {
        Teacher t1=new Teacher();
        t1.setTname("马老师");
        String tname=t1.getTname();
        System.out.println(tname);
    }
}
